import React, { Component } from "react";
import config from '../../config.js'

import './DeleteConfirm.css'

//删除 视频 弹窗
class DeleteConfirm extends Component {
  state = {
    confirmdel: false,
    info: {},
    delvid: "",
    videoList: [], //上传成功的list
    index: 1
  };

  render() {

    return (
      <div className={this.props.delVideoPopupActive ? "show confirm_toast" : "hide"}>
        <div className="confirm_title">确认删除</div>
        <div className="confirm_content">确认要删除此文件么？</div>
        <div className="confirm_btn">
          <div className="confirm_sure" onClick={ this.props.delVideoSure.bind(this) }>确认</div>
          <div className="confirm_cancel" onClick={ this.props.closeDelConfirm.bind(this) }>取消</div>
        </div>
      </div>
    );
  }
  
 



}

export default DeleteConfirm;
